//
//  LSNavigationViewController.m
//  KuaiYi
//
//  Created by ZengFanSheng on 2016/11/13.
//  Copyright © 2016年 HeiMa. All rights reserved.
//

#import "LSNavigationViewController.h"
#import "HMAdditions.h"

@interface LSNavigationViewController ()

@end

@implementation LSNavigationViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    [self setupUI];
}

- (void)setupUI
{

//    UIFont *font = [UIFont systemFontOfSize:21];
//    NSDictionary *dic = @{
//                          NSFontAttributeName:font,
//                          NSForegroundColorAttributeName: [UIColor whiteColor]
//                          };
//    self.navigationController.navigationBar.titleTextAttributes =dic;
//    
//    self.navigationController.navigationBar.translucent = NO;
//    self.navigationController.navigationBar.tintColor = [UIColor whiteColor];
//    self.navigationController.navigationBar.barTintColor = [UIColor hm_colorWithHex:0x20c6c6];
//    
    
    
    self.navigationBar.tintColor = [UIColor whiteColor];
    self.navigationBar.barTintColor = [UIColor hm_colorWithHex:0x20c6c6];
    NSDictionary *dict = @{NSForegroundColorAttributeName : [UIColor whiteColor]};
    self.navigationBar.titleTextAttributes = dict;
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
